package com.dhecp.project.purchase.domain;

import com.dhecp.common.annotation.ForUpdate;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.*;

/**
 * @program: kjecp
 * @description: 1688铺货
 * @author: hlf
 * @create: 2022-08-27 09:21
 */
public class Distribution {

    private String guid;//唯一标识
    private String id;//唯一标识
    @ForUpdate(fieldName = "商品ID")
    private String goodsID;//商品ID
    @ForUpdate(fieldName = "供应商ID")
    private String supplierID;//供应商ID
    @ForUpdate(fieldName = "供应商名称")
    private String supplierName;//供应商名称
    @ForUpdate(fieldName = "1688账号")
    private String aName;//1688账号
    @ForUpdate(fieldName = "1688订单")
    private String aID;//1688订单
    @ForUpdate(fieldName = "SKUID")
    private String sKUID;//SKUID
    @ForUpdate(fieldName = "SPECID")
    private String sPECID;//SPECID
    @ForUpdate(fieldName = "商品图片")
    private String images;//商品图片
    @ForUpdate(fieldName = "商品标题")
    private String name;//商品标题
    @ForUpdate(fieldName = "商品状态")
    private String state;//商品状态
    @ForUpdate(fieldName = "SKU属性")
    private String sKUPRoperty;//SKU属性
    @ForUpdate(fieldName = "SKU编码")
    private String sKUCODE;//SKU编码
    @ForUpdate(fieldName = "销售方式")
    private String salesMethod;//销售方式
    @ForUpdate(fieldName = "子件编码")
    private String sCode;//子件编码
    @ForUpdate(fieldName = "子件名称")
    private String sName;//子件名称
    @ForUpdate(fieldName = "商品编码")
    private String pCode;//商品编码
    @ForUpdate(fieldName = "商品名称")
    private String pName;//商品名称
    @ForUpdate(fieldName = "供应商登录ID")
    private String supplierLoginId;//供应商登录ID
    @ForUpdate(fieldName = "最小起订数")
    private Integer minNum;//最小起订数
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;//创建时间
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;//修改时间
    private String createUser;//创建人
    @ForUpdate(fieldName = "修改人")
    private String updateUser;//修改人

    //对多查询
    private List<Distribution> distributionList;


    //虚拟字段
    private List<String> sKUID2;
    private List<String> sPECID2;
    private List<String> sKUCODE2;
    private List<String> sKUPRoperty2;
    private List<String> pCode2;


    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(String goodsID) {
        this.goodsID = goodsID;
    }

    public String getSupplierID() {
        return supplierID;
    }

    public void setSupplierID(String supplierID) {
        this.supplierID = supplierID;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getaName() {
        return aName;
    }

    public void setaName(String aName) {
        this.aName = aName;
    }

    public String getaID() {
        return aID;
    }

    public void setaID(String aID) {
        this.aID = aID;
    }

    public String getsKUID() {
        return sKUID;
    }

    public void setsKUID(String sKUID) {
        this.sKUID = sKUID;
    }

    public String getsPECID() {
        return sPECID;
    }

    public void setsPECID(String sPECID) {
        this.sPECID = sPECID;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getsKUPRoperty() {
        return sKUPRoperty;
    }

    public void setsKUPRoperty(String sKUPRoperty) {
        this.sKUPRoperty = sKUPRoperty;
    }

    public String getsKUCODE() {
        return sKUCODE;
    }

    public void setsKUCODE(String sKUCODE) {
        this.sKUCODE = sKUCODE;
    }

    public String getSalesMethod() {
        return salesMethod;
    }

    public void setSalesMethod(String salesMethod) {
        this.salesMethod = salesMethod;
    }

    public String getsCode() {
        return sCode;
    }

    public void setsCode(String sCode) {
        this.sCode = sCode;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getSupplierLoginId() {
        return supplierLoginId;
    }

    public void setSupplierLoginId(String supplierLoginId) {
        this.supplierLoginId = supplierLoginId;
    }

    public Integer getMinNum() {
        return minNum;
    }

    public void setMinNum(Integer minNum) {
        this.minNum = minNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public List<Distribution> getDistributionList() {
        return distributionList;
    }

    public void setDistributionList(List<Distribution> distributionList) {
        this.distributionList = distributionList;
    }

    public List<String> getsKUID2() {
        return sKUID2;
    }

    public void setsKUID2(List<String> sKUID2) {
        this.sKUID2 = sKUID2;
    }

    public List<String> getsPECID2() {
        return sPECID2;
    }

    public void setsPECID2(List<String> sPECID2) {
        this.sPECID2 = sPECID2;
    }

    public List<String> getsKUCODE2() {
        return sKUCODE2;
    }

    public void setsKUCODE2(List<String> sKUCODE2) {
        this.sKUCODE2 = sKUCODE2;
    }

    public List<String> getsKUPRoperty2() {
        return sKUPRoperty2;
    }

    public void setsKUPRoperty2(List<String> sKUPRoperty2) {
        this.sKUPRoperty2 = sKUPRoperty2;
    }

    public List<String> getpCode2() {
        return pCode2;
    }

    public void setpCode2(List<String> pCode2) {
        this.pCode2 = pCode2;
    }

    public String getId() {
        return this.id;
    }

    public void setId(final String id) {
        this.id = id;
    }
}